package cn.seqdata.diff;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

public class JoinValue<ID, L, R> {
	private final ID id;
	private L left;
	private R right;

	public JoinValue(ID id) {
		super();
		this.id = id;
	}

	public JoinValue(ID id, L left, R right) {
		super();
		this.id = id;
		this.left = left;
		this.right = right;
	}

	public ID getId() {
		return id;
	}

	@JsonIgnoreProperties({ "id", "key" })
	public L getLeft() {
		return left;
	}

	public void setLeft(L left) {
		this.left = left;
	}

	@JsonIgnoreProperties({ "id", "key" })
	public R getRight() {
		return right;
	}

	public void setRight(R right) {
		this.right = right;
	}
}
